<!DOCTYPE html>
<html>
<head>
    <meta charset=utf-8>
    <meta http-equiv="X-UA-Compatible" content="IE=9">
    <title>{cscms:title}</title>
    <meta name="Keywords" content="{cscms:keywords}" />
    <meta name="Description" content="{cscms:description}" />
    <link rel="stylesheet" href="{cscms:webpath}packs/font/font.css">
    <link rel="stylesheet" type="text/css" href="{cscms:indextempurl}css/user.css" />
    <script type='text/javascript' src='{cscms:indextempurl}js/user.js'></script>
</head>
<body style="background: #f5f5f5">
    {cscms:indexhead}
    {cscms:indexright}
        {cscms:indexleft}
            <div class="sp-cont-r">
                <div class="layui-tab layui-tab-card" lay-filter="dt1" style="margin-top: 0px;margin-bottom: 0px">
                    <ul class="layui-tab-title" style="height: 41px">
                        <li class="layui-this"><a href="[user:url userlink=dance]">我分享的</a></li>
                        <li><a href="[user:url userlink=dance,verify]">审核中的</a></li>
                        <li><a href="[user:url userlink=fav]">我收藏的</a></li>
                        <li><a href="[user:url userlink=down]">我下载的</a></li>
                        <a style="float: right;margin-right: 15px;margin-top: 5px" href="[user:url userlink=dance,add]" class="layui-btn layui-btn-small layui-btn-danger">上传歌曲</a>
                    </ul>
                    <div class="layui-tab-content" style="padding:0px;background-color: #fff">
                        <div class="layui-tab-item layui-show">
                            <div class="layui-tab layui-tab-brief">
							    <ul class="layui-tab-title">
							        <li{if:[dance:cid]==0} class="layui-this"{end if}><a href="[user:url userlink=dance]">全部类型</a></li>
	                                {cscms:class table="dance_list" sort="id" order="asc"}
									<li{if:[dance:cid]==[class:id]} class="layui-this"{end if}><a href="[user:url userlink=dance,index]/[class:id]">[class:name]</a></li>
	                                {/cscms:class}
							    </ul>
							    <style type="text/css">
									.layui-table td, .layui-table th{padding: 9px 10px;}
							    </style>
							    <div class="layui-tab-content" style="padding: 10px">
							    	<form action="#" class="layui-form" method="post">
							            <table class="layui-table" lay-even lay-skin="nob">
							                <thead>
							                    <tr>
							                    	<th class="mini">歌曲名称</th>
							                    	<th class="mini">演唱者</th>
							                    	<th>人气</th>
							                    	<th class="mini">试听</th>
							                    	<th class="mini">下载</th>
							                    	<th>时间</th>
							                    </tr>
							                </thead>
							                <tbody id="topic_list">
							                {cscms:dance table="dance" uid="auto" pagesize="20"  sort="time" order="desc"}
							                    <tr>
							                        <td><div class="box-left"><input type="checkbox" class="xuan" lay-skin="primary" checked name="check" value="[dance:id]" checked="checked"></div><a class="dance_nobr" title="[dance:name]" href="[dance:url zdy=dance,id,play,id]">[dance:i]、[dance:name]</a></td>
							                        <td><a href="[dance:url zdy=singer,singerid,show]" title="[dance:singer zd=name]" target="_blank">{if:'[dance:singer zd=name]'=='null'}佚名{else}[dance:singer zd=name]{end if}</a></td>
							                        <td>[dance:hits]</td>
							                        <td><a href="[dance:url zdy=dance,id,play,id]"><i class="layui-icon">&#xe6fc;</i></a></td>
							                        <td><a href="[dance:url link=down,id]" title="[dance:name]下载"><i class="layui-icon" >&#xe601;</i></a></td>
							                        <td>[dance:addtime style=time]</td>
							                    </tr>
							                {/cscms:dance}
							                    <tr {if:{cscms:pagedata}==0}style="display:none"{end if}><td colspan="5"><a href="javascript:user.select_all();" class="layui-btn layui-btn-small layui-btn-primary"><i class="layui-icon colorl">&#xe618;</i>全选/取消</a><a href="javascript:user.playsongs(1);" class="layui-btn layui-btn-small layui-btn-primary"><i class="layui-icon colord" style="font-size:17px!important">&#xe652;</i>&nbsp;&nbsp;播放选中</a></td></tr>
							                </tbody>
							            </table>
							            </form>
									{if:{cscms:pagedata}==0}<div class="zanwu">暂无数据！</div>{end if}
									<div class="page" style="text-align: right;{if:{cscms:pagedata}==0}display: none;{end if}">
			                            <div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-0">
			                                <a href="{cscms:pagefirst}" class="layui-laypage-last" title="首页">首页</a>
			                                <a href="{cscms:pageup}" class="layui-laypage-last" title="上一页">上一页</a>
			                                {cscms:pagenum len=6}
			                                <a href="{cscms:pagedown}" class="layui-laypage-next">下一页</a>
			                                <a href="{cscms:pagelast}" class="layui-laypage-last" title="尾页">末页</a>
			                            </div>
			                       </div>
							    </div>
							</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="mar10"></div>
    <div class="mar10"></div>
{cscms:indexbottom}
<script type="text/javascript">
    $(document).ready(function() {
        $('#left_dance_1').addClass('on');
        $('#left_first').removeClass('layui-nav-itemed');
        $('#left_dance_1').parent().parent().addClass('layui-nav-itemed');
    });
</script>
</body>
</html>